package com.foreveross.bsl.auth.integration;

import java.util.Map;


/**
 * @description
 *
 * @author rening
 * @version v1.0
 *
 * @2013-7-22
 *
 */
public interface ChannelIntegration {

	public Object getInfo(String ticket);

	public boolean validateTicket(String ticket);

	public boolean validateIP(String ip);
	
	@SuppressWarnings("rawtypes")
	public boolean validateIdentity(String appKey, Map parameters);

	public boolean validateIPFlow(String ip);

	public boolean validateIPResource(String ip, String resource);

	public boolean logResourceUsage(ResourceUsage resourceUsage);

}
